html {
  height: 100%;
  overflow-y: hidden;
}

body, #app, .el-container {
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif!important;
  //font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif!important;
  color: #333;
  height: 100%;
  margin: 0;
}

a:hover, a:focus {
  text-decoration: none !important;
}

label{
  margin-bottom: 0!important;
  font-weight: normal!important;
}
input[type="file"] {
  display: none!important;
}
.el-select .el-input {
  width: 130px;
}
.el-tag {
  margin-right: 10px!important;
  height: 40px!important;
  line-height: 40px!important;
}
.el-table td, .el-table th {
  padding: 6px 0!important;
}
.el-table {
  th > {
    .cell {
      font-weight: normal;
    }
  }
}

.fa-icon {
  width: auto;
  height: 1em;
  max-width: 100%;
  max-height: 100%;
}

.login {
  padding-top: 100px;
  background-image: url($login-black);
}

/*** 头部 ***/

.el-header {
  height: 60px !important;
  padding: 0 !important;
  position: relative;
  left:-1px;
  .el-submenu {
    float: right;
    padding-right: 20px;
  }
}

/*** 侧边栏 ***/
.el-aside {
  .el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 230px;
    min-height: 400px;
  }

  // 侧栏头部
  .sidebar-top {
    .logo {
      text-align: center;
      .logo-mini, .logo-lg {
        display: block;
        height: 60px;
        line-height: 60px;
        color: #fff;
        font-size: 20px;
        background-color: #2992ff;
      }
    }
  }
  // 侧栏状态
  .sidebar-toggle {
    text-align: center;
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid #373d44;
    cursor: pointer;
    color: #8aa4af;
  }

  // 侧栏菜单
  .el-menu {
    height: 100%;
    .el-menu-item,.el-submenu__title{
      height: 44px;
      line-height: 44px;
    }
  }

}

.el-menu--popup {
  .el-menu-item{
    height: 44px;
    line-height: 44px;
  }
}

/*** 底部 ***/
.el-footer {
  height: 50px !important;
  background-color: #fff;
  color: #444;
  border-top: 1px solid #d2d6de;
  footer {
    height: 50px;
    line-height: 50px;

    .pull-right {
      float: right;
    }
  }
}

/*** 内容 ***/
.content-wrapper {
  height: 100%;

  // header
  .content-header {
    > h1 {
      margin: 0;
      font-size: 24px;
      padding-bottom: 20px;
      > small {
        font-size: 15px;
        display: inline-block;
        padding-left: 4px;
        font-weight: 300;
      }
    }
  }

  // center
  .el-card {
    border-top: 3px solid #00c0ef;
    .header {
      border-bottom: 1px solid #ebeef5;
    }
    .main {
      padding-top: 10px;
      // 头像
      .avatar-uploader .el-upload {
        border: 1px dashed #d9d9d9;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
      }
      .avatar-uploader .el-upload:hover {
        border-color: #409EFF;
      }
      .avatar-uploader-icon {
        font-size: 28px;
        color: #8c939d;
        width: 178px;
        height: 178px;
        line-height: 178px;
        text-align: center;
      }
      .avatar {
        width: 178px;
        height: 178px;
        display: block;
      }
      // tag标签
      .button-new-tag {
        height: 40px;
        line-height: 40px;
        padding-top: 0;
        padding-bottom: 0;
      }
      .input-new-tag {
        width: 110px;
        vertical-align: bottom;
      }
      // 树状分级
      .el-tree-node__content {
        margin: 5px 0;
      }
      .custom-tree-node {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        padding-right: 20px;
      }
    }
    .footer{
      padding-top: 20px;
      overflow: hidden;
    }
  }

  // footer
  .header {
    h1{
      padding-bottom:15px;
    }
  }
  // 仪表盘
  .dashboard{
    .el-card{
      .table{
        tr{
          td{
            font-size:12px;
            border-top: 1px solid #f4f4f4;
          }
        }
      }
    }
  }
}